package com.community.pojo;

import java.util.Date;

public class QuestionBrowseRecord {
    private Integer id;

    private Integer qid;

    private String username;

    private String ip;

    private Date createTime;

    private Date updateTime;

    public QuestionBrowseRecord(Integer id, Integer qid, String username, String ip, Date createTime, Date updateTime) {
        this.id = id;
        this.qid = qid;
        this.username = username;
        this.ip = ip;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public QuestionBrowseRecord() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}